<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
        <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts-wordcloud.min.js"></script>

</head>
<body>
    <div id="9660596ab6fa497fb37041daaac4152f" class="chart-container" style="width:900px; height:500px;"></div>
    <script>
        var chart_9660596ab6fa497fb37041daaac4152f = echarts.init(
            document.getElementById('9660596ab6fa497fb37041daaac4152f'), 'white', {renderer: 'canvas'});
        var option_9660596ab6fa497fb37041daaac4152f = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "wordCloud",
            "shape": "diamond",
            "rotationRange": [
                0,
                0
            ],
            "rotationStep": 45,
            "girdSize": 20,
            "sizeRange": [
                20,
                100
            ],
            "data": [
                {
                    "name": "California",
                    "value": 749196,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(133,153,54)"
                        }
                    }
                },
                {
                    "name": "Texas",
                    "value": 675149,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(15,124,64)"
                        }
                    }
                },
                {
                    "name": "Florida",
                    "value": 652140,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(13,24,148)"
                        }
                    }
                },
                {
                    "name": "New York",
                    "value": 445881,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(111,110,22)"
                        }
                    }
                },
                {
                    "name": "Georgia",
                    "value": 270624,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(92,148,108)"
                        }
                    }
                },
                {
                    "name": "Illinois",
                    "value": 256614,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(132,69,140)"
                        }
                    }
                },
                {
                    "name": "Arizona",
                    "value": 206548,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(148,15,129)"
                        }
                    }
                },
                {
                    "name": "New Jersey",
                    "value": 196779,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(52,50,91)"
                        }
                    }
                },
                {
                    "name": "North Carolina",
                    "value": 180061,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(160,125,79)"
                        }
                    }
                },
                {
                    "name": "Tennessee",
                    "value": 164032,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(62,147,128)"
                        }
                    }
                }
            ],
            "drawOutOfBound": false,
            "textStyle": {
                "emphasis": {}
            }
        }
    ],
    "legend": [
        {
            "data": [],
            "selected": {},
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "\u7f8e\u56fd\u5404\u5dde\u786e\u8bcaTop10",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_9660596ab6fa497fb37041daaac4152f.setOption(option_9660596ab6fa497fb37041daaac4152f);
    </script>
</body>
</html>
